package com.erdos.hyt.mall.model;//

import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;

import java.math.BigDecimal;//
import java.time.LocalDateTime;
import java.util.Date;//
import java.util.List;

/**
 * 商城商品
 * @author liurong
 * @date 2017年4月1日
 */
@Alias("mallGoods")
public class MallGoods {

    @ApiModelProperty(value = "商品ID")
    private Integer goodsId;////id

    @ApiModelProperty(value = "商品编号")
    private String goodsNo;//商品编号

    @ApiModelProperty(value = "商品名称")
    private String goodsName;//商品名称

    @ApiModelProperty(value = "商品描述")
    private String description;//商品描述

    @ApiModelProperty(value = "状态")
    private String status;//状态

    @ApiModelProperty(value = "商品分类")
    private String category;//商品分类

    @ApiModelProperty(value = "展示价格 （例：99-900）")
    private  String priceShow;

    @ApiModelProperty(value = "总库存展示")
    private  Integer totalSkuShow;

    @ApiModelProperty(value = "操作人")
    private Integer operater;//操作人

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;//创建时间

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;//更新时间

    @ApiModelProperty(value = "浏览次数")
    private Integer viewTimes;//浏览次数

    @ApiModelProperty(value = "购买次数")
    private Integer purchaseTimes;//购买次数

    @ApiModelProperty(value = "库存数")
    private Integer inventory;//库存数

    @ApiModelProperty(value = "是否上架")
    private String putawayStatus;//是否上架

    @ApiModelProperty(value = "是否特价")
    private String cheapStatus;//是否特价

    @ApiModelProperty(value = "是否支持打折")
    private String discountStatus;//是否支持打折

    @ApiModelProperty(value = "是否推荐")
    private String isRecommend;//是否推荐

    @ApiModelProperty(value = "是否热卖")
    private String isHot;//是否热卖

    @ApiModelProperty(value = "是否新品")
    private String isNew;//是否新品

    @ApiModelProperty(value = "库存预警数")
    private Integer leastInventory;//库存预警数

    @ApiModelProperty(value = "所属菜单")
    private Integer menuId;//所属菜单

    @ApiModelProperty(value = "商品类型")
    private Integer goodsType;//商品类型

    @ApiModelProperty(value = "商品品牌")
    private Integer goodsBrand;//商品品牌

    @ApiModelProperty(value = "分享内容")
    private String shareContent;//分享内容

    @ApiModelProperty(value = "售后服务")
    private String afterSale;//售后服务

    @ApiModelProperty(value = "创建人")
    private Integer createUser;//创建人

    @ApiModelProperty(value = "修改人")
    private Integer updateUser;//

    @ApiModelProperty(value = "备注")
    private String memo;//备注

    @ApiModelProperty(value = "页面标题")
    private String pageTitle;//页面标题

    @ApiModelProperty(value = "页面描述")
    private String pageDesc;//页面描述

    @ApiModelProperty(value = "商品图片集合")
    private  List<MallImgs> imgsList;

    @ApiModelProperty(value = "库存信息")
    private List<MallGoodsSku> skuList;



    public Integer getGoodsId() {
        return goodsId;//
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;//
    }

    public String getGoodsNo() {
        return goodsNo;//
    }

    public void setGoodsNo(String goodsNo) {
        this.goodsNo = goodsNo == null ? null : goodsNo.trim();//
    }

    public String getGoodsName() {
        return goodsName;//
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();//
    }

    public String getDescription() {
        return description;//
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();//
    }

    public String getStatus() {
        return status;//
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();//
    }

    public String getCategory() {
        return category;//
    }

    public void setCategory(String category) {
        this.category = category == null ? null : category.trim();//
    }



    public Integer getOperater() {
        return operater;//
    }

    public void setOperater(Integer operater) {
        this.operater = operater;//
    }

   

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getViewTimes() {
        return viewTimes;//
    }

    public void setViewTimes(Integer viewTimes) {
        this.viewTimes = viewTimes;//
    }

    public Integer getPurchaseTimes() {
        return purchaseTimes;//
    }

    public void setPurchaseTimes(Integer purchaseTimes) {
        this.purchaseTimes = purchaseTimes;//
    }

    public Integer getInventory() {
        return inventory;//
    }

    public void setInventory(Integer inventory) {
        this.inventory = inventory;//
    }

    public String getPutawayStatus() {
        return putawayStatus;//
    }

    public void setPutawayStatus(String putawayStatus) {
        this.putawayStatus = putawayStatus == null ? null : putawayStatus.trim();//
    }

    public String getCheapStatus() {
        return cheapStatus;//
    }

    public void setCheapStatus(String cheapStatus) {
        this.cheapStatus = cheapStatus == null ? null : cheapStatus.trim();//
    }

    public String getDiscountStatus() {
        return discountStatus;//
    }

    public void setDiscountStatus(String discountStatus) {
        this.discountStatus = discountStatus == null ? null : discountStatus.trim();//
    }

    public String getIsRecommend() {
        return isRecommend;//
    }

    public void setIsRecommend(String isRecommend) {
        this.isRecommend = isRecommend == null ? null : isRecommend.trim();//
    }

    public String getIsHot() {
        return isHot;//
    }

    public void setIsHot(String isHot) {
        this.isHot = isHot == null ? null : isHot.trim();//
    }

    public String getIsNew() {
        return isNew;//
    }

    public void setIsNew(String isNew) {
        this.isNew = isNew == null ? null : isNew.trim();//
    }

    public Integer getLeastInventory() {
        return leastInventory;//
    }

    public void setLeastInventory(Integer leastInventory) {
        this.leastInventory = leastInventory;//
    }

    public Integer getMenuId() {
        return menuId;//
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;//
    }

    public Integer getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public Integer getGoodsBrand() {
        return goodsBrand;//
    }

    public void setGoodsBrand(Integer goodsBrand) {
        this.goodsBrand = goodsBrand;//
    }

    public String getShareContent() {
        return shareContent;//
    }

    public void setShareContent(String shareContent) {
        this.shareContent = shareContent == null ? null : shareContent.trim();//
    }

    public String getAfterSale() {
        return afterSale;//
    }

    public void setAfterSale(String afterSale) {
        this.afterSale = afterSale == null ? null : afterSale.trim();//
    }

    public Integer getCreateUser() {
        return createUser;//
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;//
    }

    public Integer getUpdateUser() {
        return updateUser;//
    }

    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;//
    }

    public String getMemo() {
        return memo;//
    }

    public void setMemo(String memo) {
        this.memo = memo == null ? null : memo.trim();//
    }

    public String getPageTitle() {
        return pageTitle;//
    }

    public void setPageTitle(String pageTitle) {
        this.pageTitle = pageTitle == null ? null : pageTitle.trim();//
    }

    public String getPageDesc() {
        return pageDesc;//
    }

    public void setPageDesc(String pageDesc) {
        this.pageDesc = pageDesc == null ? null : pageDesc.trim();//
    }

    public String getPriceShow() {
        return priceShow;
    }

    public void setPriceShow(String priceShow) {
        this.priceShow = priceShow;
    }

    public Integer getTotalSkuShow() {
        return totalSkuShow;
    }

    public void setTotalSkuShow(Integer totalSkuShow) {
        this.totalSkuShow = totalSkuShow;
    }

    public List<MallImgs> getImgsList() {
        return imgsList;
    }

    public void setImgsList(List<MallImgs> imgsList) {
        this.imgsList = imgsList;
    }

    public List<MallGoodsSku> getSkuList() {
        return skuList;
    }

    public void setSkuList(List<MallGoodsSku> skuList) {
        this.skuList = skuList;
    }

}